package common.commands;

import ui.WindowManager;

public class CommandGUI implements ICommand {

	@Override
	public String getName() {
		
		return "showgui";
	}

	@Override
	public String getSynopsis() {
		
		return "showgui";
	}

	@Override
	public CommandValue run(String arg) {	
		WindowManager.getInstance().setVisible(true);
		ui.cli.console.Console.getInstance().restoreEmbeddedConsole(); 
		return CommandValue.OK;
	}

	@Override
	public String help() {
		
		return "This command show CLAC GUI workbench";
	}

}
